.chat_wrap {
    position: relative;
    width: 100%;
    font-size: 0.3rem;

    .chat_title {
        width: 100%;
        height: 0.7rem;
        text-align: center;
        line-height: 0.7rem;
        font-size: 0.42rem;
    }

    .chat_main {
        position: relative;
        width: 90%;
        margin: auto;

        .inp {
            width: 100%;
            height: 0.6rem;
            background-color: #f5f5f5;
            border-radius: 0.3rem;
            box-sizing: border-box;
            padding-left: 0.3rem;
            color: #9d9d9d;
            font-size: 0.28rem;
            margin-top: 0.3rem;
        }

        .chat_item {
            position: relative;
            width: 100%;
            height: 1.5rem;
            display: flex;
            align-items: center;
            user-select: none;
            -webkit-user-select: none;

            .chat_inner {
                width: 5.8rem;
                height: 1rem;
                display: flex;
                align-items: center;
                gap: 0.2rem;

                .avatar {
                    position: relative;
                    width: 1rem;
                    height: 1rem;
                    border-radius: 50%;

                    img {
                        width: 100%;
                        height: 100%;
                        border-radius: 50%;
                        overflow: hidden;
                    }

                    .msg_numbers {
                        position: absolute;
                        z-index: 1;
                        top: -0.08rem;
                        right: -0.2rem;
                        display: inline-block;
                        box-sizing: border-box;
                        padding: 0 0.1rem;
                        background-color: #fc5023;
                        color: #fff;
                        font-size: 0.26rem;
                        border-radius: 0.18rem;
                    }
                }

                .rig {
                    flex: 1;

                    .p1 {
                        font-size: 0.34rem;
                        color: rgb(49, 49, 49);
                        font-weight: 600;
                    }

                    .p2 {
                        max-width: 4.66rem;
                        font-size: 0.28rem;
                        color: #9d9d9d;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }
                }
            }

            .goods_img {
                position: absolute;
                z-index: 1;
                top: 0.24rem;
                right: 0;
                min-width: 0.7rem;
                text-align: right;
                font-size: 0.24rem;

                img {
                    width: 0.7rem;
                    height: 0.7rem;
                    border-radius: 0.1rem;
                    overflow: hidden;
                    vertical-align: bottom;
                }

                .show_last_date {
                    display: inline-block;
                    color: #999;
                    line-height: 1em;
                }
            }
        }
    }
}
